import DECISIONS

class VI:
	def __init__(self,fosterling=None):
		print 'basic virtual intelligence'
		self.connect(fosterling)
		self.t=0
	def connect(self,creature):
		self.fosterling=creature
	def decide(self):
		if self.fosterling:
			self.fosterling.acceptDecision(DECISIONS.JUMP)
			'''self.t=self.t+1
			if self.t==30:
				self.fosterling.acceptDecision(DECISIONS.STANDART_ATTACK)
				self.t=0'''